

public class Test1 {
    public static void main(String[] args) {
        System.out.println(Math.pow(3,5));//3的5次方
        System.out.println(Math.ceil(3.2));//3.2向上取整的结果
        System.out.println(Math.floor(3.8));//3.2向上取整的结果
        System.out.println(Math.round(5.6));//5.6四舍五入取整的结
    }
}
